Automattic\Jetpack\Waf\Waf_Request A

Total Complexity 55
Dependencies 1
Dependents 1
Total lines 313
Lines of code 148
Logical lines of code 71
Comment lines 136
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
get_url()
A
44 16 40
get_headers()
A
52 9 24
get_files()
S
56 5 19
get_ip_by_header()
S
60 5 13
get_real_user_ip_address()
S
63 4 10
get_method()
S
72 2 5
get_protocol()
S
72 2 5
get_uri()
S
74 2 4
get_body()
S
75 2 4
normalize_header_name()
S
78 1 3
set_trusted_headers()
S
80 1 3
get_filename()
S
80 1 3
get_query_string()
S
80 1 3
get_cookies()
S
80 1 3
get_get_vars()
S
80 1 3
get_post_vars()
S
80 1 3
set_trusted_proxies()
S
80 1 3